/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sg4c.frontend;

import java.applet.Applet;
import java.awt.BorderLayout;
import javax.swing.JPanel;

public class GraphicPanel extends JPanel{
    public GraphicPanel(Applet applet){
        super(new BorderLayout());
        setPreferredSize(applet.getPreferredSize());
        add(applet, BorderLayout.CENTER);
    }

}
